
import requests
class CartApi:
    def __init__(self):
        self.url = "http://192.168.1.11:8080/wx/cart/add"

    def add_cart(self,headers,data):
        # print(data)
        # print(headers)
        return requests.post(url=self.url,json=data,headers=headers)
